﻿* {
    margin: 0;
    padding: 0;
 
}

body {
    color: #333;
    font-size: 14px;
    font-family: "PingFang SC","Helvetica neue",Helvetica,Tahoma,"lantinghei sc","Microsoft Yahei",sans-serif;
    -webkit-font-smoothing: antialiased;
    background: #f4f4f4;
}

.blog-hide {
    display: none;
}

.blog-right {
    float: right;
}

.blog-left {
    float: left;
}

.text-center {
    text-align: center;
}

/*导航栏*/
.div-nav {
    text-align: center;
    width: 100%;
    position: fixed;
    z-index: 100;
}

.layui-nav {
    background-color: #5a5382;
}

.nav-block {
    height: 60px;
}

.nav-image {
    height: 70px;
    border: 1px solid red;
    background-color: cadetblue;
}



/*分类*/
.nav-category {
    text-align: center;
    background-color: white;
    border: 1px solid black;
    z-index: 1;
}

.menu-category li {
    display: inline-block;
}

    .menu-category li span {
        position: relative;
        display: inline-block;
        max-width: 100%;
        height: 24px;
        margin: 5px 9px 2px 0;
        line-height: 24px;
        padding: 0 8px 0 18px;
        border-radius: 0 4px 4px 0;
        background: #eee;
        font-size: 12px;
        color: #333;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
    }

        .menu-category li span:before {
            position: absolute;
            content: '';
            top: 0;
            left: 0;
            width: 0;
            height: 0;
            border-width: 12px 12px 12px 0;
            border-color: #fff transparent;
            border-style: solid;
        }

        .menu-category li span::after {
            position: absolute;
            content: '';
            width: 4px;
            height: 4px;
            top: 10px;
            left: 8px;
            border-radius: 100%;
            background: #fff;
        }

        .menu-category li span:hover {
            background-color: black;
            color: white;
            cursor: pointer;
        }

        .menu-category li span.active {
            background: #f70;
            color: #fff;
        }

.category-relative {
    position: relative;
}

.category-fixed {
    top: 60px;
    width: 100%;
    position: fixed;
}
/*理想空间*/

.indeCnt {
    overflow: hidden;
}

.grid-row {
    width: 1500px;
    position: relative;
    margin: auto;
    zoom: 1;
    transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    -webkit-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
}

@media screen and (max-width:1550px) {
    html {
        font-size: 16px;
    }

    .grid-row {
        width: 1200px;
    }
}

@media screen and (max-width:1250px) {
    .grid-row {
        width: 900px;
    }
}

@media screen and (max-width:950px) {
    html {
        font-size: 14px;
    }

    .grid-row {
        width: 600px;
    }

    .grid-row {
        width: 100%;
        float: none!important;
        clear: both;
    }

    .grid-row {
        width: 50%;
    }
}

@media screen and (max-width:650px) {
    .grid-row {
        width: 100%;
    }

        .grid-row .grid-box, .grid-row .grid-col-1-4 {
            width: 100%;
            float: none!important;
            clear: both;
        }
}

.index-aboutme {
    position: relative;
    max-height: 100vh;
    min-height: 400px;
    background: url(//dn-lay.qbox.me/build/single-page/images/gallery/aboutme_4b7e378.jpg) center center;
    background-size: cover;
    visibility: hidden;
    overflow: hidden;
}

    .index-aboutme.zoom-show {
        display: block;
        visibility: visible;
        -webkit-mask-image: url();
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-position: center center;
        -webkit-mask-size: 300%;
        -webkit-animation: circle_zoom 1.2s ease-in;
    }

    .index-aboutme:before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        /*background: url();*/
        z-index: 0;
    }

    .index-aboutme:after {
        content: '';
        display: block;
        padding-top: 66%;
    }

    .index-aboutme .aboutme-body {
        position: absolute;
        width: 100%;
        height: 160px;
        top: 50%;
        left: 0;
        margin-top: -80px;
        text-align: center;
    }

    .index-aboutme h3 {
        padding-left: 10px;
        margin-bottom: .3em;
        line-height: 1em;
        font-size: 2.4em;
        font-weight: 500;
        color: #000;
    }

    .index-aboutme p {
        padding-left: 10px;
        margin-bottom: 2em;
        font-size: 1.1em;
    }

    .index-aboutme .my-sns-links a {
        display: inline-block;
        vertical-align: middle;
        width: 2.2em;
        height: 2.2em;
        margin: 0 10px;
        line-height: 2.2em;
        border: 1px solid rgba(0,0,0,.4);
        border-radius: 100%;
        font-size: 1.3em;
        transition: all .2s ease-in;
        -moz-transition: all .2s ease-in;
        -webkit-transition: all .2s ease-in;
        -o-transition: all .2s ease-in;
    }

        .index-aboutme .my-sns-links a svg {
            width: 100%;
            fill: #000;
        }

        .index-aboutme .my-sns-links a:hover {
            background: rgba(0,0,0,.2);
            background: rgba(255,255,255,.5);
        }


.index-about-design {
    position: relative;
    padding: 5em 0;
    line-height: 1.8em;
    text-align: center;
    background: #fff;
}

    .index-about-design:before {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        top: -4rem;
        left: 0;
        border-style: solid;
        border-width: 4rem 100vw 0 0;
        border-color: transparent #fff;
    }

@-webkit-keyframes circle_zoom {
    0% {
        opacity: 0;
        -webkit-mask-size: 30%;
    }

    40% {
        opacity: .6;
        -webkit-mask-size: 60%;
    }

    60% {
        opacity: .8;
        -webkit-mask-size: 100%;
    }

    100% {
        opacity: 1;
        -webkit-mask-size: 300%;
    }
}

@media screen and (min-width:660px) {
    .index-aboutme .aboutme-body {
        top: 25%;
        margin-top: 0;
        text-align: left;
    }
}
/*首页内容显示*/
.contentbody {
    width: 80%;
    margin: 0 auto;
}

.centetcontent {
    margin-top: 40px;
    margin-bottom: 45px;
}

.post-list {
    text-align: center;
    position: relative;
}

    .post-list ul {
        margin: 0;
        padding: 0;
    }

    .post-list li {
        position: relative;
        list-style: none;
        height: 40px;
        line-height: 40px;
        margin-bottom: 10px;
        background: #fafafa;
    }

        .post-list li a:hover {
            color: #ccc;
        }

        .post-list li .category-tag {
            position: absolute;
            display: block;
            width: 80px;
            height: 40px;
            cursor: pointer;
            font-size: 12px;
            text-align: center;
            color: #00c1de;
            background: #efeaea;
        }

        .post-list li a {
            display: block;
            max-width: 400px;
            padding: 0 0 0 120px;
            color: #444;
            text-decoration: none;
            white-space: nowrap;
            text-overflow: ellipsis;
            overflow: hidden;
        }

        .post-list li .date {
            position: absolute;
            right: 0;
            top: 50%;
            height: 40px;
            font-size: 12px;
            padding-right: 10px;
            text-align: right;
            margin-top: -20px;
        }

.list-title {
    padding-top: -120px;
    text-align: center;
    cursor: pointer;
}

.detailbody {
    text-align: center;
    margin-bottom: 3rem;
    background: url(../../Images/blogs/mask_f70d8a0.png);
}

.detailcontent {
    margin: 0 auto;
    padding: 0;
    max-width: 86%;
    text-align: left;
}

    .detailcontent img {
        max-width: 100%;
    }

.titlediv {
    border: 1px solid #d2d2d2;
    border-radius: 15px;
    background-color: ghostwhite;
}

.detailtitle {
    font-size: 1.8rem;
}
/*底部内容展示*/
.footer {
    text-align: center;
    background-color: #333;
    position: fixed;
    color: #888;
    width: 100%;
    bottom: 0px;
}

   
/*文章详情创建时间样式*/
.timeicon, .timespan {
    color: #fbfbfb;
    margin-left: 5px;
    border: 1px solid #d2d2d2;
    border-radius: 10px;
    background-color: rgba(10, 17, 39, 0.54);
    font-size: 21px;
}

/*返回顶部菜单*/
.topon {
    position: fixed;
    right: 0;
    cursor: pointer;
    bottom: -10px;
    color: white;
}


@media all and (max-width:600px) {
    /*.post-list ul li .category-tag {
        display: none;
    }*/

    .contentbody {
        width: 100%;
    }

    .detailcontent {
        max-width: 98%;
    }

    .post-list ul li a {
        padding: 0 20px 0 80px;
        max-width: 220px;
        text-overflow: ellipsis;
    }
}
/*浏览器滚动周样式*/
.define-scrollbar::-webkit-scrollbar {
    width: 16px;
    height: 106px;
}

.define-scrollbar::-webkit-scrollbar-track-piece {
    background: #eee;
}

.define-scrollbar::-webkit-scrollbar-thumb:vertical {
    background: #666;
}
